package com.me.forum.request;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class RemarkRequest extends BaseRequest {
    private String content;


    private String pageId;
    private String userId;

    @Override
    public Boolean isLegal() {
        if (content != null && !content.isEmpty()) {
            return true;
        }
        return false;
    }
}
